<?php
namespace app\index\controller;

use think\Controller;

use think\Request;
use app\index\model\Words;
use app\index\model\Comment;

class Word extends Controller{
	//查看指定文章 及文章下的评论
	public function word_article()
	{
		$word = controller('word','Pointscontroller');
		$word->word_article();
	}

	//发布文章
	public function word_add(){
		$word = controller('word','Pointscontroller');
		$word->word_add();
	}

	//删除文章及评论
	public function word_del(){
		$word = controller('word','Pointscontroller');
		$word->word_del();
	}

}